﻿<!DOCTYPE html>
<html>
<head>
    <title>{$platform.name}</title>
    <link href="/static/css/framework-font.css" rel="stylesheet"/>
    <script src="/static/js/jquery-2.1.1.js"></script>
    <script src="/static/bootstrap/js/bootstrap.js"></script>
    <link href="/static/bootstrap/css/bootstrap.min.css" rel="stylesheet"/>

    <script src="/static/js/jquery.cookie.js"></script>
    <link href="/static/css/framework-theme.css" rel="stylesheet"/>
    <script src="/static/js/framework-ui.js"></script>
    <script src="/static/js/framework-clientdata.js"></script>

    <!--弹框js-->
    <script src="/static/js/yii.js"></script>

    <!--引用layui弹框插件-->
    <script src="/static/layui/layui.all.js"></script>
    <script src="/static/layui/layui.js"></script>
    <link href="/static/layui/css/layui.css" rel="stylesheet"/>
    <script src="/static/layui/lay/modules/layer.js"></script>

        {if condition="$swidthStyle eq 0"}
    <link href="/static/css/pattern/public.css" rel="stylesheet"/>
    {else/}
    <link href="/static/css/default/public.css" rel="stylesheet"/>
    {/if}
</head>
<body>

<div class="newtest">

    <div class="new_main">
        <table class="layui-hide" id="demo" lay-filter="demo"></table>

        <script type="text/html" id="toolbarDemo">
            <div class="layui-btn-container">
                <a class="layui-btn layui-btn-sm"  href="javascript:;" onclick="window.history.go(-1);" >返回</a>
            </div>
        </script>

    </div>
</div>




</body>
<script src="/static/js/index.js"></script>
<script src="/static/js/indextab.js"></script>
<script src="/static/js/pace.min.js"></script>
<script>
    var id = "{$id}";
    layui.use(['form','jquery','layer','laydate','table'], function() { //独立版的layer无需执行这一句
        var $ = layui.jquery, layer = layui.layer;
        var form = layui.form;
        var laydate = layui.laydate;
        var table = layui.table //表格
        //日期范围
        laydate.render({
            elem: '#test6'
            , range: true
        });

        //列表
        var where = {type:'list',id:id};
        var title = "积分明细";
        var url = "{:URL('community/volunteers/integrallog')}";
        var cols = [[
            {field: 'name', title: '志愿者名称', align:'center'}
            ,{field: 'type', title: '类型', align:'center'}
            ,{field: 'remark', title: '备注', align:'center'}
            ,{field: 'status', title: '操作', align:'center'}
            ,{field: 'number', title: '操作金额', align:'center'}
            ,{field: 'before_number', title: '操作前余额', align:'center'}
            ,{field: 'after_number', title: '操作后余额', align:'center'}
            ,{field: 'addtime', title: '操作时间', align:'center',sort: true}
        ]];
        showlist(table,url,where,title,cols);


    });





</script>

</html>
